<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1"/>
    <title>{$appConfigs.title}</title>

    <link rel="stylesheet" type="text/css" href="{$contextPath}/pas/easyui/themes/{$page_theme | default: 'default'}/easyui.css">
    <link rel="stylesheet" type="text/css" href="{$contextPath}/pas/easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="{$contextPath}/pas/style/my.css">
    <script type="text/javascript" src="{$contextPath}/pas/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="{$contextPath}/pas/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="{$contextPath}/pas/javascript/my.js"></script>
    
    <script type="text/javascript" src="{$contextPath}/invest/javascript/my.js"></script>
	<script type="text/javascript" src="{$contextPath}/assets/highcharts/highcharts.js"></script>
	<script type="text/javascript" src="{$contextPath}/assets/highcharts/modules/exporting.js"></script>
	<script type="text/javascript" src="{$contextPath}/assets/highcharts/modules/export-data.js"></script>
</head>
<body>
	<div class="easyui-layout" style="width:98%;height:98%;">
		<div class="easyui-layout" data-options="region:'north'">
			<div id="container1" data-options="region:'west'" class="easyui-panel" style="width:50%;height:50%;padding:2px;"></div>
			<div id="container2" data-options="region:'center'" class="easyui-panel" style="width:50%;padding:2px;"></div>
		</div>
		<div class="easyui-layout" data-options="region:'center'">
			<div id="container3" data-options="region:'west'" class="easyui-panel" style="width:50%;height:50%;padding:2px;"></div>
			<div id="container4" data-options="region:'center'" class="easyui-panel" style="width:50%;padding:2px;"></div>
		</div>
	</div>
	
	{literal}
	<script type="text/javascript">
	$.getJSON('/invest/SummaryMoneyDailyService/findAssetsMarketReport.do?$value=rows', function(data){
	   rendererPieChart(data, 'container1', '投资市场分布');
	});
	$.getJSON('/invest/SummaryMoneyDailyService/findAssetsBlockReport.do?$value=rows', function(data){
	   rendererPieChart(data, 'container2', '投资板块分布');
	});
	$.getJSON('/invest/SummaryMoneyDailyService/findAssetsTypeReport.do?$value=rows', function(data){
	   rendererPieChart(data, 'container3', '投资类型分布');
	});
	</script>
	{/literal}
</body>
</html>